﻿using System;
using System.Collections.Generic;
using System.Runtime.Serialization;
using System.Text;
using System.Xml.Linq;

namespace Ocean.His.MedicalInsurance
{
    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI1319Data
    {
        /// <summary>
        /// 查询时间点
        /// </summary>
        [DataMember(Name = "query_date")]
        public string QueryDate { get; set; }

        /// <summary>
        /// 医保目录编码
        /// </summary>
        [DataMember(Name = "hilist_code")]
        public string HilistCode { get; set; }

        /// <summary>
        /// 医保目录自付比例人员类别
        /// </summary>
        [DataMember(Name = "selfpay_prop_psn_type")]
        public string SelfpayPropPsnType { get; set; }

        /// <summary>
        /// 目录自付比例类别
        /// </summary>
        [DataMember(Name = "selfpay_prop_type")]
        public string SelfpayPropType { get; set; }

        /// <summary>
        /// 参保机构医保区划
        /// </summary>
        [DataMember(Name = "insu_admdvs")]
        public string InsuAdmdvs { get; set; }

        /// <summary>
        /// 开始日期
        /// </summary>
        [DataMember(Name = "begndate")]
        public string Begndate { get; set; }

        /// <summary>
        /// 结束日期
        /// </summary>
        [DataMember(Name = "enddate")]
        public string Enddate { get; set; }

        /// <summary>
        /// 有效标志
        /// </summary>
        [DataMember(Name = "vali_flag")]
        public string ValiFlag { get; set; }

        /// <summary>
        /// 唯一记录号
        /// </summary>
        [DataMember(Name = "rid")]
        public string Rid { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        [DataMember(Name = "tabname")]
        public string Tabname { get; set; }

        /// <summary>
        /// 统筹区
        /// </summary>
        [DataMember(Name = "poolarea_no")]
        public string PoolareaNo { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [DataMember(Name = "updt_time")]
        public string UpdtTime { get; set; }

        /// <summary>
        /// 当前页数
        /// </summary>
        [DataMember(Name = "page_num")]
        public string PageNum { get; set; }

        /// <summary>
        /// 本页数据量
        /// </summary>
        [DataMember(Name = "page_size")]
        public string PageSize { get; set; }
    }

    /// <summary>
    /// 
    /// </summary>
    [DataContract]
    public class SI1319InputModel
    {
        [DataMember(Name = "data")]
        public SI1319Data SI1319Data { get; set; }
    }

    /// <summary>
    /// 1319
    /// 医保目录先自付比例信息查询
    /// </summary>
    [DataContract]
    public class SI1319RequestModel : SIBaseRequestModel
    {
        /// <summary>
        /// 交易输入
        /// </summary>
        [DataMember(Name = "input")]
        public SI1319InputModel Input { get; set; }

        public SI1319RequestModel(MedicalInsuranceOption medicalInsuranceOption,
            SI1319Data sI1101Data) : base(medicalInsuranceOption)
        {
            Infno = "1319";
            Input = new SI1319InputModel();
            Input.SI1319Data = sI1101Data;
        }
    }
}
